#pragma one

#include <string>
#include <vector>

namespace ShangHaiChuangYi {
class FileOperation {
public:
    virtual ~FileOperation();
    virtual void open(const std::string&)=0;
    virtual void close()=0;
    virtual void read(std::vector<char>&)=0;
    virtual void write(const std::vector<char>&)=0;
protected:
    int m_fd_;
};
}